package ooday03;

public class Master {
    /*
        Dog dog = new Dog("大黄", 2, "黄");
        Fish fish = new Fish("泡泡", 5, "红");
        Chick chick = new Chick("太美", 5, "棕");

        Master master = new Master();
        master.feed(dog);
        master.feed(fish);
        master.feed(chick);
     */
    void feed(Animal animal){
        animal.eat();
    }
}
